package com.atguigu.scala.test

import scala.collection.BitSet.empty.foreach
import scala.io.Source

/**
 * @author lizikuan
 * @date 2021/5/22 16:47
 */
object Test1 {
  def main(args: Array[String]): Unit = {
    val product = Source.fromFile("./datas/product.txt").getLines().toList
    println(product.map(_.split(",").toList).filter(x=>x.length==6))
  }
}
